﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using PayrollHR.Web;
using Payroll.BusinessLogic.CustomerManager;

namespace PayrollHR.Administration.Modules
{
    public partial class CustomerTypeInfo : BasePayrollAdministrationUserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {

            }
        }

        public CutomerType getCustomerTypeInfo()
        {
            CutomerType info = new CutomerType { CutomerTypeName = txtCustTypeName.Text, 
                LastId = Convert.ToInt32(txtLastId.Value),
                pre = txtPre.Text.Trim().ToUpper() };
            return info;
        }
    }
}